import request from '@/config/axios'

// 查询首页上方统计数
export const getTotal = async () => {
  return await request.get({ url: `/cont/deal/getIndexInfo`})
}

// 获取首页合同状态统计图
export const getIndexContStatus = async () => {
  return await request.get({ url: `/cont/deal/getIndexContStatus`})
}

// 获取首页合同到期时间统计图
export const getIndexCont = async () => {
  return await request.get({ url: `/cont/deal/getIndexCont`})
}

// 获取首页收付款到期时间统计图
export const getIndexPay = async () => {
  return await request.get({ url: `/cont/deal/getIndexPay`})
}

// 获取首页合同类型统计
export const getIndexContType = async () => {
  return await request.get({ url: `/cont/deal/getIndexContType`})
}
